<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" href="../static/css/registe.css"/>

</head>
<body>
    <div class="box">
        <h2>注册</h2>
        <div class="input-box">
            <label>账号</label>
            <input id="userid" type="text"/>
            <label id="userid_error"></label>
        </div>
        <div class="input-box">
            <label>密码</label>
            <input id="passwd" type="password"/>
            <label id="passwd_error"></label>

        </div>
        <div class="input-box">
            <label>邮箱</label>
            <input id="user_email" type="email"/>
            <label id="email_error"></label>
        </div>
        <div class="input-box">
            <label>验证码</label>
            <input id="emailcode" type="text"/>
            <label id="code_error"></label>
        </div>
        <div class="btn-box">
            <div>
                <button onclick="user_register()">注册</button>
                <button id="button_code" onclick="getCode()">获取验证码</button>
            </div>
        </div>
    </div>
</body>
<!--这也写是为了让html加载完在运行js-->
<script type="text/javascript" src="../static/js/registe.js"></script>
</html>